﻿<%@ Page Debug="true" Language="C#" MasterPageFile="~/_admin/admin.master" Inherits="SharePoint911.SPAXO.SpaxoConfig, SharePoint911.SPAXO, Version=1.0.0.0, Culture=neutral, PublicKeyToken=c1d151edf9ff2fb3" %>
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ToolBar" src="~/_controltemplates/ToolBar.ascx" %>

<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitleInTitlearea" runat="server">
    SPAXO Configuration
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    Please choose a web application that SPAXO has been deployed to and specify the configuration options.
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <table width="100%" class="propertysheet" cellpadding="0" cellspacing="0" border="0">
        <tr><td class="ms-error"><asp:Literal ID="ErrorMessageLiteral" runat="server" EnableViewState="false" /> </td></tr>
    </table>

    <!-- Web Application -->
	<wssuc:ToolBar runat="server" id="ToolBar" CssClass="ms-toolbar">
		<Template_RightButtons>
			<SharePoint:WebApplicationSelector id="WebAppSelector" AllowAdministrationWebApplication="false" runat="server" TypeLabelCssClass="ms-listheaderlabel" OnContextChange="WebAppSelector_ContextChange" />
		</Template_RightButtons>
	</wssuc:ToolBar>
  
    <table border="0" cellspacing="0" cellpadding="0" width="100%">
        <tr>
            <td>
                <!-- Injection Option -->
                <wssuc:InputFormSection runat="server" title="Injection Technique">
                    <Template_Description>Specify the the Injection Technique to be used.<br /><br />NOTE: This value is cached in the Module.  Any changes can take up to 5 minutes to be reflected unless the web application is reset in which case the changes will be immediate.</Template_Description>
                    <Template_InputFormControls>
                        <tr><td align="right">
                            <asp:DropDownList id="InjectionOptionInput" runat="server">
                                <asp:ListItem value="Head">Head Section</asp:ListItem>
                                <asp:ListItem value="End">Append to End</asp:ListItem>
                            </asp:DropDownList>
                        </td></tr>
                    </Template_InputFormControls>
                </wssuc:InputFormSection>

                <wssuc:ButtonSection runat="server">
                    <template_buttons>
                        <asp:Button id="SaveSettings" runat="server" class="ms-ButtonHeightWidth" Text="OK" OnClick="SaveSettings_OnClick" />
                    </template_buttons>
                </wssuc:ButtonSection>
            </td>
        </tr>
    </table>
</asp:Content>